import requests
import json

params = {
    "pageNumber": 1,
    "pageSize": 20,
    "advQueryParam": [
        {
        "value": ['火焰切割设备'],
        "express": "like",
        "field": "accountName"
        }
    ]
}
# data = json.dumps(params)
# data = f'{{"input": {data}}}'
url = "http://172.20.0.72:33011/eam/euipment/eqpAccount/listPage"
headers = { 
    'Authorization': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJBQ0NPVU5UX0lEIjoiNGFmZjI1OTNlYjBjNDllN2I1NjEwN2Q5Mzk0MjBjODMiLCJDTElFTlRfSUQiOiJjNTU1ODI4ZDkxOWQ0N2QxYjBmYWQ1Njk4ZGY0ZmE3ZiIsIlVTRVJJRCI6IjRhZmYyNTkzZWIwYzQ5ZTdiNTYxMDdkOTM5NDIwYzgzIiwiVEVOQU5UX0lEIjoiYjkxNjRmODQ1MTczNGRjNzk5NDZiMmMyNmE3MGU4MzIifQ.Rsrbn06NoFxbHkoVURPIV9wzPRqdPx2rqYxCPs78MAM'
}
response = requests.request('POST', url, json=params, headers=headers)


res = str(json.loads(response.content.decode('utf-8')))
print("resp:",res)